//
//  mttPoint.h
//  mtt
//
//  Created by Gerfried Mikusch on 29.09.10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "mttPointDelegate.h"


@interface mttPoint:UIView <UIGestureRecognizerDelegate>{
	

	int pinID;
	CGPoint pinLoc;

	UITapGestureRecognizer *tapRecognizer;
	id<mttPointDelegate> delegate;

	
}

@property (nonatomic, assign) int pinID;
@property (nonatomic, assign) CGPoint pinLoc;

@property (nonatomic, retain) UITapGestureRecognizer *tapRecognizer;
@property (nonatomic, retain) id<mttPointDelegate> delegate;

-(void) initWithID:(int)pinNr;
-(void) setLocationOfPin:(CGPoint)loc;


@end
